Class TBSRequest

java.lang.Object
com.netscape.cmsutil.ocsp.TBSRequest
All Implemented Interfaces:
org.mozilla.jss.asn1.ASN1Value

public class TBSRequest extends Object implements org.mozilla.jss.asn1.ASN1Value
RFC 2560:
 TBSRequest      ::=     SEQUENCE {
  version             [0] EXPLICIT Version DEFAULT v1,
  requestorName       [1] EXPLICIT GeneralName OPTIONAL,
  requestList             SEQUENCE OF Request,
  requestExtensions   [2] EXPLICIT Extensions OPTIONAL }
 
Version:
$Revision$ $Date$
  • Field Details

    • TAG

      public static final org.mozilla.jss.asn1.Tag TAG
  • Constructor Details

    • TBSRequest

      public TBSRequest(org.mozilla.jss.asn1.INTEGER version, org.mozilla.jss.asn1.ANY requestorName, org.mozilla.jss.asn1.SEQUENCE requestList, org.mozilla.jss.asn1.SEQUENCE requestExtensions)
  • Method Details

    • getVersion

      public org.mozilla.jss.asn1.INTEGER getVersion()
    • getRequestorName

      public org.mozilla.jss.asn1.ANY getRequestorName()
    • getRequestCount

      public int getRequestCount()
    • getRequestAt

      public Request getRequestAt(int index)
    • getExtensionsCount

      public int getExtensionsCount()
    • getRequestExtensionAt

      public org.mozilla.jss.pkix.cert.Extension getRequestExtensionAt(int index)
    • getTag

      public org.mozilla.jss.asn1.Tag getTag()
      Specified by:
      getTag in interface org.mozilla.jss.asn1.ASN1Value
    • encode

      public void encode(OutputStream ostream) throws IOException
      Specified by:
      encode in interface org.mozilla.jss.asn1.ASN1Value
      Throws:
      IOException
    • encode

      public void encode(org.mozilla.jss.asn1.Tag implicitTag, OutputStream ostream) throws IOException
      Specified by:
      encode in interface org.mozilla.jss.asn1.ASN1Value
      Throws:
      IOException
    • getTemplate

      public static TBSRequest.Template getTemplate()